<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html; charset=utf-8" language="java"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@include file="/common/common.jsp"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	request.setAttribute("basepath", basePath);
	
%>
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<jsp:include page="/common/commoncss.jsp"></jsp:include>
<script type="text/javascript" src="js/jquery/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="js/custom/zh_CN/main.js"></script>
<script type="text/javascript" src="js/custom/common.js"></script>
<link type="text/css" href="js/calendar/css/ui-lightness/jquery-ui-1.7.2.custom.css" rel="stylesheet" />
<script type="text/javascript" src="js/calendar/zh_CN/jquery-ui.min.js"></script>
<script type="text/javascript" src="js/calendar/zh_CN/timepicker.js"></script>
<script type="text/javascript" src="js/custom/common.js"></script>
<script language="javascript">
/**页面加载的时候，初始化时间控件**/
$(function() {
	$("#msg").hide();
	});


function submitForm(){
		$("#msg").show();
		$("#subID").attr("disabled","disabled");
		$.ajax({
			url:"VclDB2DeloyHandRunAction!handStatVclDB2Deloy.action",
			data:{},
			dateType:'text',
			type:'post',
			error:function(){},
			success:function(data){
				eval('var json = '+data);
				if(json.status == 1){
					$("#msg").hide();
					$("#subID").attr("disabled","");
					alert("执行统计完成!");
					
				}
				}
		});
	}
</script>
</HEAD>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" style="border:0;overflow-x:hidden;background-color:#EFEFEF;">
<div class="byt_table" style="width:98.3%;height:580px;overflow:auto;margin-top:0px;">
<table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0">
	<thead>
		<tr>
			<th colspan="2" >档位车速延迟数据统计作业手动执行</th>
		</tr>
	</thead>
</table>
<div class="button_center"> 
		<input type="button"  name="subID" id="subID" value="开始执行" onclick="submitForm();"/>
        <input type="button"  value="返回" id="subID" onclick="javascript:window.history.go(-1)"/>
</div>

<div id = "msg" style="width: 200px; top: 10px;font-size: 14px;color:red; font-weight: bold;"> 
	统计正在执行，请等待...
</div>
</div>
</body>
</HTML>
